package com.senven.common.user.service;

import com.senven.common.entity.Settledlibrary;
import com.senven.common.entity.User;
import com.senven.common.user.vo.UserVo;
import com.senven.common.vo.CommonResult;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface UserService {
    User findUserByUsername(String username);

    CommonResult findInfo(Integer currentPage, Integer pageSize, UserVo userVo);

    CommonResult insertUser(User user);

    CommonResult updateUser(User user);

    CommonResult deleteUser(String id);

    Integer yonghuLogin(String username);

    User findUserByTel(String tel);

    String selectShop(User user);

    CommonResult findUsername();

    CommonResult updatePassword(HttpServletRequest request, Map map);
}
